package cn.est.constants;

//生成短信验证码的工具类
public class MathUtil {
    public static String randomCode(){
        //1000-9999
        Integer  random = (int)((Math.random()*9+1)*1000);
        return random.toString();
    }
}
